Skip to content

Add enablePrattParser option and split Parser into AntlrParser and dispatcher - #1212

Merged
copybara-service[bot] merged 1 commit into
mainfrom
test_978827922
Sep 11, 2026
Merged

Add enablePrattParser option and split Parser into AntlrParser and dispatcher#1212
copybara-service[bot] merged 1 commit into
mainfrom
test_978827922

Conversation

@copybara-service

Copy link
Copy Markdown
Contributor

Add enablePrattParser option and split Parser into AntlrParser and dispatcher

Split Parser.java into AntlrParser.java (containing all ANTLR dependencies) and Parser.java (acting as a simple dispatcher between AntlrParser and PrattParser).
Refactor CelParserParameterizedTest and CelParserImplTest to run tests against both ANTLR and Pratt parsers to ensure exact AST equivalence.

@copybara-service
copybara-service Bot force-pushed the test_978827922 branch 7 times, most recently from 4ea6cbf to a2659c5 Compare September 11, 2026 00:28
…spatcher

Split Parser.java into AntlrParser.java (containing all ANTLR dependencies) and Parser.java (acting as a simple dispatcher between AntlrParser and PrattParser).
Refactor CelParserParameterizedTest and CelParserImplTest to run tests against both ANTLR and Pratt parsers to ensure exact AST equivalence.

PiperOrigin-RevId: 979492678
@copybara-service
copybara-service Bot merged commit 6a8a056 into main Sep 11, 2026
6 checks passed
@copybara-service
copybara-service Bot deleted the test_978827922 branch September 11, 2026 00:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant